var app = angular.module('myApp', []);



app.controller('firstController', function($scope, $http) {});

app.directive('hello', function() {
	return {
		'restrict': 'EACM', //E:元素，<myDirect></myDirect>;A:属性，<div myDirect></div>;C:样式，<div class="myDirect"></div>;M:注释，<!-- directive: myDirect -->
		template: '<p><span ng-transclude></span>Hi, Here<span ng-transclude></span></p>', //模板
		// replace: true//替换当前标签
		transclude: true//保留标签内的内容，在模板中使用<span ng-transclude></span>注明原始内容保留在哪
	};
});